Condition Field Operands
The following table describes the condition operands.
Condition Operands
Condition Operand |
Description |
---|---|
== != |
Tests for equivalent values. Tests for not equivalent values. |
>= <= |
Tests for greater than or equal to values. Tests for less than or equal to values. |
> < |
Tests for greater than values. Tests for less than values. |
contains !contains |
Tests a string containing specified text. Tests a string not containing specified text. |
exists !exists |
Tests whether a parameter exists. Tests whether a parameter does not exist. |
suffix prefix |
Tests whether a string has a particular suffix. Tests whether a string has a particular prefix. |
len> len< len== |
Tests whether the length of a string is greater than a specific value. Tests whether the length of a string is less than a specific value. Tests whether the length of a string is equal to a specific value. |
num< num< num= num== num>= num<= num!= |
Tests the numerical value (not lexicographic comparison) of the string. For more information, see Condition. |
regex |
Tests whether a string matches the given regular expression. |
+ |
Concatenates string values. |
insubnet
!insubnet |
Tests whether the host IP address (IPv4 or IPv6) in a SIP header (e.g., From or To) belongs to a specific subnet expressed in CIDR (Classless Inter-Domain Routing) notation. Tests whether the host IP address (IPv4 or IPv6) in a SIP header (e.g., From or To) does not belong to a specific subnet expressed in CIDR (Classless Inter-Domain Routing) notation. |